<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/instrumentation/st-instrumentation.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li><li class="navelem"><a class="el" href="dir_e8784b64d701200ce05334d46c95fd71.html">instrumentation</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">st-instrumentation.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="st-instrumentation_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="ross_8h.html">ross.h</a>&gt;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &lt;sys/stat.h&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#ab989ec56ce3ec26587b394209384309e">    4</a></span>&#160;<span class="keywordtype">char</span> <a class="code" href="st-instrumentation_8c.html#ad6fb1fc5b4b238584836005cc23b9794">g_st_stats_out</a>[<a class="code" href="st-instrumentation_8h.html#a2d0c8b178913329ba300f0773ed9d10f">INST_MAX_LENGTH</a>] = {0};</div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#abac0ec68b20db932445f4e9c699fef5a">    5</a></span>&#160;<span class="keywordtype">char</span> <a class="code" href="st-instrumentation_8c.html#abac0ec68b20db932445f4e9c699fef5a">g_st_stats_path</a>[4096] = {0};</div>
<div class="line"><a name="l00006"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#ac0fec55109412e73202eb3f7c7fb5200">    6</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-instrumentation_8c.html#ac0fec55109412e73202eb3f7c7fb5200">g_st_pe_data</a> = 1;</div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a8e6727f21f64eab35711d48ef4526955">    7</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-instrumentation_8c.html#a8e6727f21f64eab35711d48ef4526955">g_st_kp_data</a> = 0;</div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a205a10771cc5e3fe45d002eca571a3ff">    8</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-instrumentation_8c.html#a205a10771cc5e3fe45d002eca571a3ff">g_st_lp_data</a> = 0;</div>
<div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#aa9d73558c451caac8d15fdbff04f42cc">    9</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-instrumentation_8c.html#aa9d73558c451caac8d15fdbff04f42cc">g_st_disable_out</a> = 0;</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a4775e770faa8c51fc4d08989f610770f">   11</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a> = 0;</div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#aa6002a27f9236e4d9c61090a247341f5">   12</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> = 0;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a77c2bf7f185acfcb437f05d6ce883d55">   14</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-instrumentation_8c.html#a77c2bf7f185acfcb437f05d6ce883d55">g_st_gvt_sampling</a> = 0;</div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#abcc733db61c88c7260b3337f114e389b">   15</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-instrumentation_8c.html#abcc733db61c88c7260b3337f114e389b">g_st_num_gvt</a> = 10;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#ab8c84f60bff9ee801f44654034679fb1">   17</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="st-instrumentation_8c.html#ab8c84f60bff9ee801f44654034679fb1">g_st_rt_sampling</a> = 0;</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a7c4e5a65edda0096793ec73b51478c0f">   18</a></span>&#160;<a class="code" href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a> <a class="code" href="st-instrumentation_8c.html#a7c4e5a65edda0096793ec73b51478c0f">g_st_rt_interval</a> = 1000;</div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a37081b61537af6d4a5f722dba6df24b1">   19</a></span>&#160;<a class="code" href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a> <a class="code" href="st-instrumentation_8c.html#a37081b61537af6d4a5f722dba6df24b1">g_st_rt_samp_start_cycles</a> = 0;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a6982ecdc2a19a8aea84288e5c94e97b3">   21</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="st-instrumentation_8c.html#a6982ecdc2a19a8aea84288e5c94e97b3">g_st_vt_interval</a> = 1000000;</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a755f4a9e3b876ebc32861b30f7d90780">   22</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="st-instrumentation_8c.html#a755f4a9e3b876ebc32861b30f7d90780">g_st_sampling_end</a> = 0;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="st-instrumentation_8c.html#a500b3769ec25042dcab65ffb155e115a">   26</a></span>&#160;<span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="structtw__optdef.html">tw_optdef</a> <a class="code" href="st-instrumentation_8c.html#a500b3769ec25042dcab65ffb155e115a">inst_options</a>[] = {</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <a class="code" href="tw-opts_8h.html#a0e45b7a88a51dca3fe99d31aae9636c4">TWOPT_GROUP</a>(<span class="stringliteral">&quot;ROSS Instrumentation&quot;</span>),</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;engine-stats&quot;</span>, <a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a>, <span class="stringliteral">&quot;Collect sim engine level stats; 0 don&#39;t collect, 1 GVT-sampling, 2 RT sampling, 3 VT sampling, 4 All sampling modes&quot;</span>),</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;model-stats&quot;</span>, <a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a>, <span class="stringliteral">&quot;Collect model level stats (requires model-level implementation); 0 don&#39;t collect, 1 GVT-sampling, 2 RT sampling, 3 VT sampling, 4 all sampling modes&quot;</span>),</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;num-gvt&quot;</span>, <a class="code" href="st-instrumentation_8c.html#abcc733db61c88c7260b3337f114e389b">g_st_num_gvt</a>, <span class="stringliteral">&quot;number of GVT computations between GVT-based sampling points&quot;</span>),</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <a class="code" href="tw-opts_8h.html#a21cd827141f4fc64117c38b804846903">TWOPT_ULONGLONG</a>(<span class="stringliteral">&quot;rt-interval&quot;</span>, <a class="code" href="st-instrumentation_8c.html#a7c4e5a65edda0096793ec73b51478c0f">g_st_rt_interval</a>, <span class="stringliteral">&quot;real time sampling interval in ms&quot;</span>),</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <a class="code" href="tw-opts_8h.html#aeb3c6cf7dfe9b1b9927905a7f5d86855">TWOPT_DOUBLE</a>(<span class="stringliteral">&quot;vt-interval&quot;</span>, <a class="code" href="st-instrumentation_8c.html#a6982ecdc2a19a8aea84288e5c94e97b3">g_st_vt_interval</a>, <span class="stringliteral">&quot;Virtual time sampling interval&quot;</span>),</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <a class="code" href="tw-opts_8h.html#aeb3c6cf7dfe9b1b9927905a7f5d86855">TWOPT_DOUBLE</a>(<span class="stringliteral">&quot;vt-samp-end&quot;</span>, <a class="code" href="st-instrumentation_8c.html#a755f4a9e3b876ebc32861b30f7d90780">g_st_sampling_end</a>, <span class="stringliteral">&quot;End time for virtual time sampling (if different from g_tw_ts_end)&quot;</span>),</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;pe-data&quot;</span>, <a class="code" href="st-instrumentation_8c.html#ac0fec55109412e73202eb3f7c7fb5200">g_st_pe_data</a>, <span class="stringliteral">&quot;Turn on/off collection of sim engine data at PE level&quot;</span>),</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;kp-data&quot;</span>, <a class="code" href="st-instrumentation_8c.html#a8e6727f21f64eab35711d48ef4526955">g_st_kp_data</a>, <span class="stringliteral">&quot;Turn on/off collection of sim engine data at KP level&quot;</span>),</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;lp-data&quot;</span>, <a class="code" href="st-instrumentation_8c.html#a205a10771cc5e3fe45d002eca571a3ff">g_st_lp_data</a>, <span class="stringliteral">&quot;Turn on/off collection of sim engine data at LP level&quot;</span>),</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;event-trace&quot;</span>, <a class="code" href="st-event-trace_8c.html#aa8f89edcf6adbbfc0b12f6376ca511c3">g_st_ev_trace</a>, <span class="stringliteral">&quot;collect detailed data on all events for specified LPs; 0, no trace, 1 full trace, 2 only events causing rollbacks, 3 only committed events&quot;</span>),</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="tw-opts_8h.html#a3f719d60e0328d6ef7f96e07c02f2769">TWOPT_CHAR</a>(<span class="stringliteral">&quot;stats-prefix&quot;</span>, <a class="code" href="st-instrumentation_8c.html#ad6fb1fc5b4b238584836005cc23b9794">g_st_stats_out</a>, <span class="stringliteral">&quot;prefix for filename(s) for stats output&quot;</span>),</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <a class="code" href="tw-opts_8h.html#a3f719d60e0328d6ef7f96e07c02f2769">TWOPT_CHAR</a>(<span class="stringliteral">&quot;stats-path&quot;</span>, <a class="code" href="st-instrumentation_8c.html#abac0ec68b20db932445f4e9c699fef5a">g_st_stats_path</a>, <span class="stringliteral">&quot;path to directory to save instrumentation output&quot;</span>),</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;buffer-size&quot;</span>, <a class="code" href="st-instrumentation_8h.html#ab44c46d8e6cc653effbfee8463cc7796">g_st_buffer_size</a>, <span class="stringliteral">&quot;size of buffer in bytes for stats collection&quot;</span>),</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;buffer-free&quot;</span>, <a class="code" href="st-instrumentation_8h.html#a5a5195bc43cc6594dc5fc3cbed1ec994">g_st_buffer_free_percent</a>, <span class="stringliteral">&quot;percentage of free space left in buffer before writing out at GVT&quot;</span>),</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a>(<span class="stringliteral">&quot;disable-output&quot;</span>, <a class="code" href="st-instrumentation_8c.html#aa9d73558c451caac8d15fdbff04f42cc">g_st_disable_out</a>, <span class="stringliteral">&quot;used for perturbation analysis; buffer never dumped to file when 1&quot;</span>),</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <a class="code" href="tw-opts_8h.html#a38209b0e7568d41f5448ae5f884290a4">TWOPT_END</a>()</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;};</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#aed667cb721dd5343f74cae2715f0e05f">   46</a></span>&#160;<span class="keyword">const</span> <a class="code" href="structtw__optdef.html">tw_optdef</a> *<a class="code" href="st-instrumentation_8c.html#ab95b216a927e7de0666b153bd4b113ea">st_inst_opts</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;{</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="st-instrumentation_8c.html#a500b3769ec25042dcab65ffb155e115a">inst_options</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;}</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a2141145e35484c4401c6786406afd224">   51</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-instrumentation_8c.html#a2141145e35484c4401c6786406afd224">st_inst_init</a>(<span class="keywordtype">void</span>)</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;{</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <a class="code" href="specialized-lps_8c.html#adc74057148c07b218f3cca2de293a869">specialized_lp_run</a>();</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="keywordflow">if</span> (!(<a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> || <a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a> || <a class="code" href="st-event-trace_8c.html#aa8f89edcf6adbbfc0b12f6376ca511c3">g_st_ev_trace</a>))</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="comment">// setup appropriate flags for various instrumentation modes</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="comment">// set up files and buffers for necessary instrumentation modes</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a8ef83e71459d4c88cf3916b768a9b62c">GVT_STATS</a> || <a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781">ALL_STATS</a>)</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    {</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <a class="code" href="st-instrumentation_8c.html#a77c2bf7f185acfcb437f05d6ce883d55">g_st_gvt_sampling</a> = 1;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <a class="code" href="st-instrumentation_8h.html#a9c813e13608176ebd85999c935e3c4af">st_buffer_init</a>(<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa645a42a6ad95c6926502061516d79148">GVT_COL</a>);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    }</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a1be4f69425bed3a0f8f35f42f4dcec4a">RT_STATS</a> || <a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781">ALL_STATS</a>)</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    {</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <a class="code" href="st-instrumentation_8c.html#ab8c84f60bff9ee801f44654034679fb1">g_st_rt_sampling</a> = 1;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <a class="code" href="st-instrumentation_8h.html#a9c813e13608176ebd85999c935e3c4af">st_buffer_init</a>(<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa93ff122cb292f3f403fca354f2459863">RT_COL</a>);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    }</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a8ef83e71459d4c88cf3916b768a9b62c">GVT_STATS</a> || <a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781">ALL_STATS</a>)</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <a class="code" href="st-instrumentation_8c.html#a77c2bf7f185acfcb437f05d6ce883d55">g_st_gvt_sampling</a> = 1;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a1be4f69425bed3a0f8f35f42f4dcec4a">RT_STATS</a> || <a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781">ALL_STATS</a>)</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <a class="code" href="st-instrumentation_8c.html#ab8c84f60bff9ee801f44654034679fb1">g_st_rt_sampling</a> = 1;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#ab8c84f60bff9ee801f44654034679fb1">g_st_rt_sampling</a>)</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    {</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <a class="code" href="st-instrumentation_8c.html#a7c4e5a65edda0096793ec73b51478c0f">g_st_rt_interval</a> = <a class="code" href="st-instrumentation_8c.html#a7c4e5a65edda0096793ec73b51478c0f">g_st_rt_interval</a> * <a class="code" href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a> / 1000;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <a class="code" href="st-instrumentation_8c.html#a37081b61537af6d4a5f722dba6df24b1">g_st_rt_samp_start_cycles</a> = <a class="code" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a>();</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    }</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-event-trace_8c.html#aa8f89edcf6adbbfc0b12f6376ca511c3">g_st_ev_trace</a>)</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <a class="code" href="st-instrumentation_8h.html#a9c813e13608176ebd85999c935e3c4af">st_buffer_init</a>(<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa63cf76820d44998d304725f6c0e3295c">EV_TRACE</a>);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a>)</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        <a class="code" href="st-instrumentation_8h.html#a9c813e13608176ebd85999c935e3c4af">st_buffer_init</a>(<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa9dc1bfdc0007142df325f84b3c32c51c">MODEL_COL</a>);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;}</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a5d4676b079764929c184583f36cf29e4">   88</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-instrumentation_8c.html#a5d4676b079764929c184583f36cf29e4">st_inst_dump</a>()</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;{</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#aa9d73558c451caac8d15fdbff04f42cc">g_st_disable_out</a>)</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a8ef83e71459d4c88cf3916b768a9b62c">GVT_STATS</a> || <a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781">ALL_STATS</a>)</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <a class="code" href="st-instrumentation_8h.html#aeeea74d1470f40aea408a03c56597f13">st_buffer_write</a>(0, <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa645a42a6ad95c6926502061516d79148">GVT_COL</a>);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a1be4f69425bed3a0f8f35f42f4dcec4a">RT_STATS</a> || <a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781">ALL_STATS</a>)</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        <a class="code" href="st-instrumentation_8h.html#aeeea74d1470f40aea408a03c56597f13">st_buffer_write</a>(0, <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa93ff122cb292f3f403fca354f2459863">RT_COL</a>);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-event-trace_8c.html#aa8f89edcf6adbbfc0b12f6376ca511c3">g_st_ev_trace</a>)</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <a class="code" href="st-instrumentation_8h.html#aeeea74d1470f40aea408a03c56597f13">st_buffer_write</a>(0, <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa63cf76820d44998d304725f6c0e3295c">EV_TRACE</a>);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a>)</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <a class="code" href="st-instrumentation_8h.html#aeeea74d1470f40aea408a03c56597f13">st_buffer_write</a>(0, <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa9dc1bfdc0007142df325f84b3c32c51c">MODEL_COL</a>);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="specialized-lps_8c.html#af684a7b76fde8ed0e32b8a155af94f92">g_st_use_analysis_lps</a>)</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <a class="code" href="st-instrumentation_8h.html#aeeea74d1470f40aea408a03c56597f13">st_buffer_write</a>(0, <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa0bfba3b728463b2ee027b64c81b96011">ANALYSIS_LP</a>);</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;}</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="st-instrumentation_8h.html#a1dad744b7748e0ae7eee6b11577e744b">  105</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="st-instrumentation_8c.html#a1dad744b7748e0ae7eee6b11577e744b">st_inst_finalize</a>(<a class="code" href="structtw__pe.html">tw_pe</a> *me)</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;{</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a8ef83e71459d4c88cf3916b768a9b62c">GVT_STATS</a> || <a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781">ALL_STATS</a>)</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        <a class="code" href="st-instrumentation_8h.html#af1693cc16ddc2e345ece670ed34a81f8">st_buffer_finalize</a>(<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa645a42a6ad95c6926502061516d79148">GVT_COL</a>);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a1be4f69425bed3a0f8f35f42f4dcec4a">RT_STATS</a> || <a class="code" href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a> == <a class="code" href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781">ALL_STATS</a>)</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    {</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;        <span class="comment">// collect data one final time to account for time between last sample and sim end time</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        <a class="code" href="st-instrumentation_8h.html#a6ae8d8f288de23fd6a4d9d3c8a7b296a">st_collect_engine_data</a>(me, <a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa93ff122cb292f3f403fca354f2459863">RT_COL</a>);</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <a class="code" href="st-instrumentation_8h.html#af1693cc16ddc2e345ece670ed34a81f8">st_buffer_finalize</a>(<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa93ff122cb292f3f403fca354f2459863">RT_COL</a>);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    }</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-event-trace_8c.html#aa8f89edcf6adbbfc0b12f6376ca511c3">g_st_ev_trace</a>)</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        <a class="code" href="st-instrumentation_8h.html#af1693cc16ddc2e345ece670ed34a81f8">st_buffer_finalize</a>(<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa63cf76820d44998d304725f6c0e3295c">EV_TRACE</a>);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a>)</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        <a class="code" href="st-instrumentation_8h.html#af1693cc16ddc2e345ece670ed34a81f8">st_buffer_finalize</a>(<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa9dc1bfdc0007142df325f84b3c32c51c">MODEL_COL</a>);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="specialized-lps_8c.html#af684a7b76fde8ed0e32b8a155af94f92">g_st_use_analysis_lps</a>)</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        <a class="code" href="st-instrumentation_8h.html#af1693cc16ddc2e345ece670ed34a81f8">st_buffer_finalize</a>(<a class="code" href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa0bfba3b728463b2ee027b64c81b96011">ANALYSIS_LP</a>);</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;}</div>
<div class="ttc" id="st-instrumentation_8c_html_a7c4e5a65edda0096793ec73b51478c0f"><div class="ttname"><a href="st-instrumentation_8c.html#a7c4e5a65edda0096793ec73b51478c0f">g_st_rt_interval</a></div><div class="ttdeci">tw_clock g_st_rt_interval</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00018">st-instrumentation.c:18</a></div></div>
<div class="ttc" id="gtod_8c_html_a460e9a582762cd454d37d9d2704c3a67"><div class="ttname"><a href="gtod_8c.html#a460e9a582762cd454d37d9d2704c3a67">g_tw_clock_rate</a></div><div class="ttdeci">unsigned long long g_tw_clock_rate</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00098">ross-global.c:98</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_ab95b216a927e7de0666b153bd4b113ea"><div class="ttname"><a href="st-instrumentation_8c.html#ab95b216a927e7de0666b153bd4b113ea">st_inst_opts</a></div><div class="ttdeci">const tw_optdef * st_inst_opts(void)</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00046">st-instrumentation.c:46</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_abac0ec68b20db932445f4e9c699fef5a"><div class="ttname"><a href="st-instrumentation_8c.html#abac0ec68b20db932445f4e9c699fef5a">g_st_stats_path</a></div><div class="ttdeci">char g_st_stats_path[4096]</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00005">st-instrumentation.c:5</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a62e322fd5fc534ed1f671bfcae80f21fa63cf76820d44998d304725f6c0e3295c"><div class="ttname"><a href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa63cf76820d44998d304725f6c0e3295c">EV_TRACE</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00044">st-instrumentation.h:44</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a205a10771cc5e3fe45d002eca571a3ff"><div class="ttname"><a href="st-instrumentation_8c.html#a205a10771cc5e3fe45d002eca571a3ff">g_st_lp_data</a></div><div class="ttdeci">int g_st_lp_data</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00008">st-instrumentation.c:8</a></div></div>
<div class="ttc" id="tw-opts_8h_html_a3f719d60e0328d6ef7f96e07c02f2769"><div class="ttname"><a href="tw-opts_8h.html#a3f719d60e0328d6ef7f96e07c02f2769">TWOPT_CHAR</a></div><div class="ttdeci">#define TWOPT_CHAR(n, v, h)</div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00033">tw-opts.h:33</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a500b3769ec25042dcab65ffb155e115a"><div class="ttname"><a href="st-instrumentation_8c.html#a500b3769ec25042dcab65ffb155e115a">inst_options</a></div><div class="ttdeci">static const tw_optdef inst_options[]</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00026">st-instrumentation.c:26</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781"><div class="ttname"><a href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47afc9c4a97f2aa53e8f930d1b30dde8781">ALL_STATS</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00235">st-instrumentation.h:235</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_ac0fec55109412e73202eb3f7c7fb5200"><div class="ttname"><a href="st-instrumentation_8c.html#ac0fec55109412e73202eb3f7c7fb5200">g_st_pe_data</a></div><div class="ttdeci">int g_st_pe_data</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00006">st-instrumentation.c:6</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a37081b61537af6d4a5f722dba6df24b1"><div class="ttname"><a href="st-instrumentation_8c.html#a37081b61537af6d4a5f722dba6df24b1">g_st_rt_samp_start_cycles</a></div><div class="ttdeci">tw_clock g_st_rt_samp_start_cycles</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00019">st-instrumentation.c:19</a></div></div>
<div class="ttc" id="tw-opts_8h_html_aeb3c6cf7dfe9b1b9927905a7f5d86855"><div class="ttname"><a href="tw-opts_8h.html#aeb3c6cf7dfe9b1b9927905a7f5d86855">TWOPT_DOUBLE</a></div><div class="ttdeci">#define TWOPT_DOUBLE(n, v, h)</div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00032">tw-opts.h:32</a></div></div>
<div class="ttc" id="aarch64_8h_html_a450cf25fa5291629087ca4198de55757"><div class="ttname"><a href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757">tw_clock_read</a></div><div class="ttdeci">static tw_clock tw_clock_read(void)</div><div class="ttdef"><b>Definition:</b> <a href="aarch64_8h_source.html#l00006">aarch64.h:6</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_aa6002a27f9236e4d9c61090a247341f5"><div class="ttname"><a href="st-instrumentation_8c.html#aa6002a27f9236e4d9c61090a247341f5">g_st_engine_stats</a></div><div class="ttdeci">int g_st_engine_stats</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00012">st-instrumentation.c:12</a></div></div>
<div class="ttc" id="structtw__pe_html"><div class="ttname"><a href="structtw__pe.html">tw_pe</a></div><div class="ttdoc">Holds the entire PE state. </div><div class="ttdef"><b>Definition:</b> <a href="ross-types_8h_source.html#l00375">ross-types.h:375</a></div></div>
<div class="ttc" id="structtw__optdef_html"><div class="ttname"><a href="structtw__optdef.html">tw_optdef</a></div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00019">tw-opts.h:19</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a5a5195bc43cc6594dc5fc3cbed1ec994"><div class="ttname"><a href="st-instrumentation_8h.html#a5a5195bc43cc6594dc5fc3cbed1ec994">g_st_buffer_free_percent</a></div><div class="ttdeci">int g_st_buffer_free_percent</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00010">st-stats-buffer.c:10</a></div></div>
<div class="ttc" id="tw-opts_8h_html_a21cd827141f4fc64117c38b804846903"><div class="ttname"><a href="tw-opts_8h.html#a21cd827141f4fc64117c38b804846903">TWOPT_ULONGLONG</a></div><div class="ttdeci">#define TWOPT_ULONGLONG(n, v, h)</div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00029">tw-opts.h:29</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a2d0c8b178913329ba300f0773ed9d10f"><div class="ttname"><a href="st-instrumentation_8h.html#a2d0c8b178913329ba300f0773ed9d10f">INST_MAX_LENGTH</a></div><div class="ttdeci">#define INST_MAX_LENGTH</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00011">st-instrumentation.h:11</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_ab44c46d8e6cc653effbfee8463cc7796"><div class="ttname"><a href="st-instrumentation_8h.html#ab44c46d8e6cc653effbfee8463cc7796">g_st_buffer_size</a></div><div class="ttdeci">int g_st_buffer_size</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00009">st-stats-buffer.c:9</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a62e322fd5fc534ed1f671bfcae80f21fa93ff122cb292f3f403fca354f2459863"><div class="ttname"><a href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa93ff122cb292f3f403fca354f2459863">RT_COL</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00042">st-instrumentation.h:42</a></div></div>
<div class="ttc" id="specialized-lps_8c_html_af684a7b76fde8ed0e32b8a155af94f92"><div class="ttname"><a href="specialized-lps_8c.html#af684a7b76fde8ed0e32b8a155af94f92">g_st_use_analysis_lps</a></div><div class="ttdeci">int g_st_use_analysis_lps</div><div class="ttdef"><b>Definition:</b> <a href="specialized-lps_8c_source.html#l00011">specialized-lps.c:11</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a62e322fd5fc534ed1f671bfcae80f21fa0bfba3b728463b2ee027b64c81b96011"><div class="ttname"><a href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa0bfba3b728463b2ee027b64c81b96011">ANALYSIS_LP</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00043">st-instrumentation.h:43</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a2a5b594b0675d6ec442baf16bbacdd47a1be4f69425bed3a0f8f35f42f4dcec4a"><div class="ttname"><a href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a1be4f69425bed3a0f8f35f42f4dcec4a">RT_STATS</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00233">st-instrumentation.h:233</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a77c2bf7f185acfcb437f05d6ce883d55"><div class="ttname"><a href="st-instrumentation_8c.html#a77c2bf7f185acfcb437f05d6ce883d55">g_st_gvt_sampling</a></div><div class="ttdeci">int g_st_gvt_sampling</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00014">st-instrumentation.c:14</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_aeeea74d1470f40aea408a03c56597f13"><div class="ttname"><a href="st-instrumentation_8h.html#aeeea74d1470f40aea408a03c56597f13">st_buffer_write</a></div><div class="ttdeci">void st_buffer_write(int end_of_sim, int type)</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00137">st-stats-buffer.c:137</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a5d4676b079764929c184583f36cf29e4"><div class="ttname"><a href="st-instrumentation_8c.html#a5d4676b079764929c184583f36cf29e4">st_inst_dump</a></div><div class="ttdeci">void st_inst_dump()</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00088">st-instrumentation.c:88</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a2141145e35484c4401c6786406afd224"><div class="ttname"><a href="st-instrumentation_8c.html#a2141145e35484c4401c6786406afd224">st_inst_init</a></div><div class="ttdeci">void st_inst_init(void)</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00051">st-instrumentation.c:51</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_ab8c84f60bff9ee801f44654034679fb1"><div class="ttname"><a href="st-instrumentation_8c.html#ab8c84f60bff9ee801f44654034679fb1">g_st_rt_sampling</a></div><div class="ttdeci">int g_st_rt_sampling</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00017">st-instrumentation.c:17</a></div></div>
<div class="ttc" id="specialized-lps_8c_html_adc74057148c07b218f3cca2de293a869"><div class="ttname"><a href="specialized-lps_8c.html#adc74057148c07b218f3cca2de293a869">specialized_lp_run</a></div><div class="ttdeci">void specialized_lp_run()</div><div class="ttdef"><b>Definition:</b> <a href="specialized-lps_8c_source.html#l00052">specialized-lps.c:52</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a755f4a9e3b876ebc32861b30f7d90780"><div class="ttname"><a href="st-instrumentation_8c.html#a755f4a9e3b876ebc32861b30f7d90780">g_st_sampling_end</a></div><div class="ttdeci">double g_st_sampling_end</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00022">st-instrumentation.c:22</a></div></div>
<div class="ttc" id="tw-opts_8h_html_a0d00417e3bef0d001f256f846c72838d"><div class="ttname"><a href="tw-opts_8h.html#a0d00417e3bef0d001f256f846c72838d">TWOPT_UINT</a></div><div class="ttdeci">#define TWOPT_UINT(n, v, h)</div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00030">tw-opts.h:30</a></div></div>
<div class="ttc" id="tw-opts_8h_html_a38209b0e7568d41f5448ae5f884290a4"><div class="ttname"><a href="tw-opts_8h.html#a38209b0e7568d41f5448ae5f884290a4">TWOPT_END</a></div><div class="ttdeci">#define TWOPT_END()</div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00035">tw-opts.h:35</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a2a5b594b0675d6ec442baf16bbacdd47a8ef83e71459d4c88cf3916b768a9b62c"><div class="ttname"><a href="st-instrumentation_8h.html#a2a5b594b0675d6ec442baf16bbacdd47a8ef83e71459d4c88cf3916b768a9b62c">GVT_STATS</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00232">st-instrumentation.h:232</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a6ae8d8f288de23fd6a4d9d3c8a7b296a"><div class="ttname"><a href="st-instrumentation_8h.html#a6ae8d8f288de23fd6a4d9d3c8a7b296a">st_collect_engine_data</a></div><div class="ttdeci">void st_collect_engine_data(tw_pe *me, int col_type)</div><div class="ttdef"><b>Definition:</b> <a href="st-sim-engine_8c_source.html#l00010">st-sim-engine.c:10</a></div></div>
<div class="ttc" id="ross_8h_html"><div class="ttname"><a href="ross_8h.html">ross.h</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a4775e770faa8c51fc4d08989f610770f"><div class="ttname"><a href="st-instrumentation_8c.html#a4775e770faa8c51fc4d08989f610770f">g_st_model_stats</a></div><div class="ttdeci">int g_st_model_stats</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00011">st-instrumentation.c:11</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a6982ecdc2a19a8aea84288e5c94e97b3"><div class="ttname"><a href="st-instrumentation_8c.html#a6982ecdc2a19a8aea84288e5c94e97b3">g_st_vt_interval</a></div><div class="ttdeci">double g_st_vt_interval</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00021">st-instrumentation.c:21</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a62e322fd5fc534ed1f671bfcae80f21fa9dc1bfdc0007142df325f84b3c32c51c"><div class="ttname"><a href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa9dc1bfdc0007142df325f84b3c32c51c">MODEL_COL</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00045">st-instrumentation.h:45</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a1dad744b7748e0ae7eee6b11577e744b"><div class="ttname"><a href="st-instrumentation_8c.html#a1dad744b7748e0ae7eee6b11577e744b">st_inst_finalize</a></div><div class="ttdeci">void st_inst_finalize(tw_pe *me)</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00105">st-instrumentation.c:105</a></div></div>
<div class="ttc" id="aarch64_8h_html_abcd6b97b84bebf1f961f85cd24b56c60"><div class="ttname"><a href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a></div><div class="ttdeci">uint64_t tw_clock</div><div class="ttdef"><b>Definition:</b> <a href="aarch64_8h_source.html#l00004">aarch64.h:4</a></div></div>
<div class="ttc" id="tw-opts_8h_html_a0e45b7a88a51dca3fe99d31aae9636c4"><div class="ttname"><a href="tw-opts_8h.html#a0e45b7a88a51dca3fe99d31aae9636c4">TWOPT_GROUP</a></div><div class="ttdeci">#define TWOPT_GROUP(h)</div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00027">tw-opts.h:27</a></div></div>
<div class="ttc" id="st-event-trace_8c_html_aa8f89edcf6adbbfc0b12f6376ca511c3"><div class="ttname"><a href="st-event-trace_8c.html#aa8f89edcf6adbbfc0b12f6376ca511c3">g_st_ev_trace</a></div><div class="ttdeci">int g_st_ev_trace</div><div class="ttdef"><b>Definition:</b> <a href="st-event-trace_8c_source.html#l00003">st-event-trace.c:3</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_a8e6727f21f64eab35711d48ef4526955"><div class="ttname"><a href="st-instrumentation_8c.html#a8e6727f21f64eab35711d48ef4526955">g_st_kp_data</a></div><div class="ttdeci">int g_st_kp_data</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00007">st-instrumentation.c:7</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a62e322fd5fc534ed1f671bfcae80f21fa645a42a6ad95c6926502061516d79148"><div class="ttname"><a href="st-instrumentation_8h.html#a62e322fd5fc534ed1f671bfcae80f21fa645a42a6ad95c6926502061516d79148">GVT_COL</a></div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8h_source.html#l00041">st-instrumentation.h:41</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_aa9d73558c451caac8d15fdbff04f42cc"><div class="ttname"><a href="st-instrumentation_8c.html#aa9d73558c451caac8d15fdbff04f42cc">g_st_disable_out</a></div><div class="ttdeci">int g_st_disable_out</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00009">st-instrumentation.c:9</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_ad6fb1fc5b4b238584836005cc23b9794"><div class="ttname"><a href="st-instrumentation_8c.html#ad6fb1fc5b4b238584836005cc23b9794">g_st_stats_out</a></div><div class="ttdeci">char g_st_stats_out[INST_MAX_LENGTH]</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00004">st-instrumentation.c:4</a></div></div>
<div class="ttc" id="st-instrumentation_8c_html_abcc733db61c88c7260b3337f114e389b"><div class="ttname"><a href="st-instrumentation_8c.html#abcc733db61c88c7260b3337f114e389b">g_st_num_gvt</a></div><div class="ttdeci">int g_st_num_gvt</div><div class="ttdef"><b>Definition:</b> <a href="st-instrumentation_8c_source.html#l00015">st-instrumentation.c:15</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_a9c813e13608176ebd85999c935e3c4af"><div class="ttname"><a href="st-instrumentation_8h.html#a9c813e13608176ebd85999c935e3c4af">st_buffer_init</a></div><div class="ttdeci">void st_buffer_init(int type)</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00062">st-stats-buffer.c:62</a></div></div>
<div class="ttc" id="st-instrumentation_8h_html_af1693cc16ddc2e345ece670ed34a81f8"><div class="ttname"><a href="st-instrumentation_8h.html#af1693cc16ddc2e345ece670ed34a81f8">st_buffer_finalize</a></div><div class="ttdeci">void st_buffer_finalize(int type)</div><div class="ttdef"><b>Definition:</b> <a href="st-stats-buffer_8c_source.html#l00188">st-stats-buffer.c:188</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
